package com.leonzx.base.entity.system;

import com.leonzx.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

/**
 * @Author:张勇
 * @Description:
 * @Date: 2018-06-08 14:51
 */
@Table(name = "base_role")
public class Role extends BaseEntity {
    @Column(name = "name")
    private String name;
    @Column(name = "descn")
    private String descn;
    @Column(name = "state")
    private Integer state;

    @Transient
    private String createTimeStr;
    @Transient
    private String createUserName;
    @Transient
    private String userId;
    @Transient
    private Integer isChecked;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescn() {
        return descn;
    }

    public void setDescn(String descn) {
        this.descn = descn;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getCreateTimeStr() {
        return createTimeStr;
    }

    public void setCreateTimeStr(String createTimeStr) {
        this.createTimeStr = createTimeStr;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getUserId() {
        return userId;
    }

    public Integer getIsChecked() {
        return isChecked;
    }

    public void setIsChecked(Integer isChecked) {
        this.isChecked = isChecked;
    }

    public void setUserId(String userId) {
        this.userId = userId;

    }
}
